package mapper;

import entity.Movie;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 郝雷蒙
 * @Description
 * @date 2020/12/17 19:22
 */
@Mapper
public interface MovieMapper {
    public List<Movie> selectAllMovies(List<Integer> categoryIds);
    public Movie selectMovieById(Integer id);
    public Integer insertOneMovie(Movie movie);
    public Integer updateOneMovie(Movie movie);
    public Integer deleteMovieByList(List<Integer> movieList);

}
